<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<table class="display table table-bordered" id="hidden-table-info">
  <thead>
  <tr>
    <th>#</th>
    <th>用户名</th>
    <th>年龄</th>
  </tr>
  </thead>
  <tbody>
  <tr class="gradeX" th:each="user, stats : ${users}">
    <td th:text="${stats.count}"></td>
    <td th:text="${user.name}"></td>
    <td th:text="${user.age}"></td>
  </tr>
  </tbody>
</table>

</body>
</html>
